/*
 * firings_array.h
 *
 *  Created on: 12.04.2012
 *      Author: delgado
 */

#ifndef FIRINGS_ARRAY_H_
#define FIRINGS_ARRAY_H_

#include "Matrix.h"

#include <list>
using std::list;
#include <vector>
using std::vector;

namespace neurignacio{

typedef unsigned int number_t;
typedef float real;
typedef unsigned char uint8;	// 8-bit number

class Pattern_Array : public list< vector<uint8> >
{
protected:
	number_t n;
	real a;
public:
	Pattern_Array(const number_t n, const real a=0);
	void generate(const number_t m);
	friend ostream& operator<<(ostream& out, const Pattern_Array& pattern);
};

} // end namespace neurignacio


#endif /* FIRINGS_ARRAY_H_ */
